package com.gitee.openviducn.inspector.cdr.process;

import com.gitee.openviducn.inspector.enums.CDREventEnum;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Webhook的CDR数据处理器标识注解
 * @Author: https://gitee.com/wesleyOne
 * @Date: 02.29 2020
 */
@Component
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface WebhookCDRProcessor {

    /**
     * CDR类型
     * @return CDREventEnum
     */
    CDREventEnum event();
}
